﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DeviceReturnBack.aspx.cs" Inherits="DeviceReturnBack" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
    <script language=javascript>
     function seltime(inputName)
     {
	window.open('seltime.aspx?InputName='+inputName+'','','width=250,height=220,left=360,top=250,scrollbars=yes');  
     }
   </script>
</head>
<body>
    <form method="post" runat="server" id="frmAnnounce">
      <table width=842 border=0 cellpadding=0 cellspacing=0 align="center">
        <tr style="color:blue;font-size:14px;">
	  <td style="height: 14px; width: 502px;">
          <img src="images/ADD.gif" width=14px height=14px>设备借还管理--&gt;设备归还登记</td>
        </tr>
        <tr>
        <td style="height: 102px">
            <br />
            设备所在类别:<asp:TextBox ID="DeviceType" runat="server" ReadOnly="True" Width="118px"></asp:TextBox>
            &nbsp; &nbsp;设备名称:
            <asp:TextBox ID="DeviceName" runat="server" ReadOnly="True" Width="142px"></asp:TextBox>
            <br />
            <br />
            设备外借部门:
            <asp:TextBox ID="LendDepartment" runat="server" ReadOnly="True" Width="113px"></asp:TextBox>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 设备外借经手人:<asp:TextBox
                ID="LendPerson" runat="server" Width="105px" ReadOnly="True"></asp:TextBox><br />
            </td>
       <td style="width: 99px; height: 102px;">
           <asp:Image ID="DeviceImage" runat="server" Height="87px" Width="96px" /></td>
       </tr>
       <tr>
        <td colspan=2 style="height: 66px">
            外借日期时间:<asp:TextBox ID="LendDate" runat="server" Width="113px" ReadOnly="True"></asp:TextBox>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;借用设备天数:<asp:TextBox
                ID="LendDays" runat="server" Width="42px" ReadOnly="True"></asp:TextBox>天<br />
            <br />
            归还时间登记:<asp:TextBox ID="ReturnDate" runat="server" Width="110px"></asp:TextBox>
            <input class="submit" name="Button" onclick="seltime('ReturnDate')" type="button"
                value="选择" />&nbsp;
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="ReturnDate"
                ErrorMessage="时间格式不正确!" Operator="DataTypeCheck" Type="Date"></asp:CompareValidator></td>
       </tr>
       <tr>
       <td colspan=2 style="height: 18px" align="center">
           <asp:Button ID="Btn_ReturnBack" runat="server" Text="归还" OnClick="Btn_Lend_Click" />&nbsp;
           <asp:Button ID="Btn_Cancle" runat="server" OnClick="Btn_Cancle_Click" Text="返回" /></td>
       </tr>
     </table>
         &nbsp;&nbsp;
    </form>
</body>
</html>
